/*

Author   : chaos

FileName : this.cpp

Date     : 12/08/17 13:36:41

*/
#include <iostream>
using namespace std;

class this_ptr
{
    private:
        long index;
    public:
        void show_address()
        { cout << "The address of 'this' pointer : " << this << endl; }
};

int main(int argc ,char *argv[])
{
    this_ptr object;

    cout << " The address of object : " << &object << endl;

    object.show_address();

    return 0;
}
